import axios from '../utils/requst'


// 登录接口(内部账号)
export const checkLogin = (confing) => {
    return axios.post('business/login', confing).then(res => res)
}
// 查询品牌
export const getAllBrand = (confing) => {
    return axios.post('brand/getAll', confing).then(res => res.data)
}
// 新增品牌
export const addBrand = (confing) => {
    return axios.post('brand/add', confing).then(res => res.data)
}
// 删除品牌
export const delBrand = (confing) => {
    return axios.post('brand/delete', confing).then(res => res.data)
}